package com.xmut.xmutbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("student")
public class Student {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private String studentNo;
    private Integer gender;
    private String phone;
    private String image;
    private Long classId;  // 关联班级ID
    private Integer age;         // 年龄（用于年龄段统计）
    private String province;     // 籍贯省份（用于地区统计）
    private String enrollmentYear;
}
